#ifndef GROUPCHAT_H_
#define GROUPCHAT_H_

#include "User.h"
#include "../common/CommonFunctions.h"

#include <vector>
#include <string.h>

using namespace std;

class GroupChat
{
private:
	int id;
	string name;
	vector<User*> users;

public:
	GroupChat(int id, string name);
	void join(User* user);
	void left(User* user);
	void instantMessaging(int userId, string text);
	int getId();
	string getName();
	string usersConnected();
	bool isEmpty();
	virtual ~GroupChat();
};

#endif /*GROUPCHAT_H_*/
